<%@ page import="com.roadjava.tutor.bean.vo.UserVO" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
  <title>学生端-后台主界面</title>
  <jsp:include page="../../common/common_resources.jsp"/>
</head>
<body>
<div id="main" class="layui-layout layui-layout-admin">
  <header class="layui-header">
    <div class="layui-logo layui-hide-xs layui-bg-black">
      家教服务平台
    </div>
    <!-- 头部区域（可配合layui 已有的水平导航） -->
    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item layui-hide layui-show-md-inline-block">
        <a href="javascript:;">
          学生:${sessionScope.user.userName}
        </a>
        <dl class="layui-nav-child">
          <dd><a href="${pageContext.request.contextPath}/logout">退出</a></dd>
        </dl>
      </li>
    </ul>
  </header>
  <aside class="layui-side layui-bg-black">
    <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
    <ul class="layui-nav layui-nav-tree" lay-filter="test">
      <li class="layui-nav-item layui-this">
        <a href="${pageContext.request.contextPath}/memberCommon/toWelcome" target="main">
          欢迎页面
        </a>
      </li>
      <li class="layui-nav-item">
        <a href="${pageContext.request.contextPath}/memberCommon/toUpdate" target="main">
          个人信息
        </a>
      </li>
      <li class="layui-nav-item">
        <a href="${pageContext.request.contextPath}/studentDemand/toManage" target="main">
          我的需求
        </a>
      </li>
      <li class="layui-nav-item">
        <a href="${pageContext.request.contextPath}/student/toMyAppointment" target="main">
          我的预约
        </a>
      </li>
      <li class="layui-nav-item">
        <a href="${pageContext.request.contextPath}/student/toAppointMe" target="main">
          预约我的
        </a>
      </li>
      <li class="layui-nav-item">
        <a href="${pageContext.request.contextPath}/front/toMain">
          返回首页
        </a>
      </li>
    </ul>
  </aside>
  <main  class="layui-body">
    <iframe src="<%=request.getContextPath() %>/memberCommon/toWelcome" name="main"
            height="100%" width="100%" frameborder="0" scrolling="no">
    </iframe>
  </main>
  <jsp:include page="../common/footer.jsp"/>
</div>
</body>
</html>
